//
//  MedicineModel.h
//  pocketmedicine
//
//  Created by student on 16/4/21.
//  Copyright © 2016年 NIIT. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MedicineModel : NSObject

@property (nonatomic,assign)long int medicineId;//ID编码
@property (nonatomic,copy)NSString *name;//名称
@property (nonatomic,copy)NSString *keywords;//关键词
@property (nonatomic,copy)NSString *description1;//简介
@property (nonatomic,copy)NSString *img;//图片
@property (nonatomic,copy)NSString *message;//内容
@property (nonatomic,copy)NSString *tag;//标签
@property (nonatomic,assign)float price;//价格
@property (nonatomic,copy)NSString *type;//类型
@property (nonatomic,assign)int count;//访问数
@property (nonatomic,assign)int rcount;//评论数
@property (nonatomic,assign)int fcount;//收藏数
@property (nonatomic,copy)NSString *factory;//企业
@property (nonatomic,copy)NSString *number;//国药准字
@property (nonatomic,copy)NSString *url;
@property (nonatomic,copy)NSString *status;


- (instancetype)initWithDict:(NSDictionary *)dict;
+ (instancetype)medicineWithDict:(NSDictionary *)dict;

@end
